package com.transaction.manager;

import javax.jws.WebParam;
import javax.jws.WebParam.Mode;
import javax.jws.WebService;
import javax.xml.ws.Holder;

@WebService
public interface TransactionService {
	String start(
			@WebParam(header = true, mode=Mode.OUT)
			Holder<String> result
			);
	/*public String start(
			@WebParam
			Class<?> cls,
			@WebParam
			String methodName,
			@WebParam(header = true, mode=Mode.OUT)
			Holder<String> result
			);*/
	void end(
			@WebParam(header = true)
			String transactionId
			);
}
